package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 门店收入明细(ShopFinance)表实体类
 *
 * @author ye
 * @since 2021-11-13 09:33:38
 */
@SuppressWarnings("serial")
@Data
@TableName("shop_finance")
public class ShopFinance extends Model<ShopFinance> {

    @TableId(type = IdType.UUID)
    private String financeId;
    //涉及金额
    private Double amount;
    //类型 0 收入 1 支出
    private Integer financeType;
    //来源
    private String sourceName;
    //订单编号
    private String orderNo;
    //门店id
    private String shopId;
    //创建时间
    private Date createdTime;
}